import React,{Component} from 'react';
import {TextInput} from 'react-native';

export default class Demo08Component extends Component{
  handleChangeText(msg){
    console.log("输入框中的内容:"+msg);
  }

  render(){
    return <TextInput 
    secureTextEntry={true}
    keyboardType='numeric'
    placeholder='plz input sth'
    onChangeText={this.handleChangeText}></TextInput>
  }
}
